
function NW04_zdy_bq(fq) {
    this.nw = fq.nwDX;
    this.ys = fq.ys;
    this.sj = fq.sj;
}
NW04_zdy_bq.prototype.cj = function (nwJD, ysGT) {
    if (ysGT) {
        this.ys.yyGTys(ysGT, nwJD);
    }
    let jd = nwJD.Jiedian;
    this.sj.cj(jd)
    this.aj(jd, ysGT);
}

NW04_zdy_bq.prototype.aj = function (jd, ysGT) {
    // console.log(jd)
    let cs = '';
    if (ysGT) {
        if (ysGT.ysCS.g) {
            cs = 'height:' + ysGT.ysCS.g + ';'
        }
        if (ysGT.ysCS.k) {
            cs += 'width:' + ysGT.ysCS.k + ';'
        }
        if (ysGT.ysCS.zt_ys) {
            cs += 'color:' + ysGT.ysCS.zt_ys + ';'
        }
    }
    if (cs) {
        cs = 'style="' + cs + '"';
    }

    let nr = this._ngj_hqBQnr(jd);
    if (!nr && ysGT) {
        nr = ysGT.nr;
    }
    jd.innerHTML = '<button ' + cs + '>' + nr + '</button>';
    // console.log(jd.innerHTML)
}

NW04_zdy_bq.prototype._ngj_hqBQnr = function (jd) {
    if (jd.children.length == 0) {
        let jdNR = NWHS_sck(jd.innerHTML, 1)
        if (jdNR) {
            return jdNR;
        }
    }

}